home *** CD-ROM | disk | FTP | other *** search
/ Designer's Club 1998 May / Designer's Club 1998 May.iso / pc / IDEASRC / DREAM.DIR / 00034_image swap rollovers.ls < prev    next >
Encoding:
Text File  |  1998-04-06  |  767 b   |  36 lines

  1. on exitFrame
  2.   go(the frame)
  3.   if rollOver(23) then
  4.     set the visible of sprite 21 to 0
  5.     updateStage()
  6.   else
  7.     set the visible of sprite 21 to 1
  8.     updateStage()
  9.   end if
  10.   if rollOver(24) then
  11.     set the visible of sprite 20 to 0
  12.     updateStage()
  13.   else
  14.     set the visible of sprite 20 to 1
  15.     updateStage()
  16.   end if
  17.   repeat with n = 32 to 35
  18.     if rollOver(n) then
  19.       set the visible of sprite n to 0
  20.     end if
  21.     if rollOver(n) then
  22.       set the visible of sprite (n + 5) to 1
  23.     end if
  24.     updateStage()
  25.   end repeat
  26.   repeat with n = 32 to 35
  27.     if not rollOver(n) then
  28.       set the visible of sprite n to 1
  29.     end if
  30.     if not rollOver(n) then
  31.       set the visible of sprite (n + 5) to 0
  32.     end if
  33.     updateStage()
  34.   end repeat
  35. end
  36.